* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: Poppins;
    src: url(fonts/Poppins-Medium.ttf);
}

@font-face {
    font-family: Orbitron;
    src: url(fonts/Orbitron-Medium.ttf);
}

body {
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

section {
    height: 100vh;
    overflow: hidden;
    background: #1c1c25;
    display: flex;
    justify-content: center;
    align-items: center;
}

section::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 60%;
    width: 600px;
    height: 600px;
    background: linear-gradient(#f00, #f0f);
    border-radius: 50%;
}

.card {
    width: 508px;
    height: 314px;
    position: relative;
    transform-style: preserve-3d;
    perspective: 500px;
}

.card .face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    transition: 1s;
    backface-visibility: hidden;
}

.card .face.back {
    transform: rotateY(180deg);
}

.card:hover .face.front {
    transform: rotateY(180deg);
}

.card:hover .face.back {
    transform: rotateY(360deg);
}



.front::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.5;
    bottom: 40px;
    right: 40px;
}

.front::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.7;
    bottom: 40px;
    right: 80px;
}

.front .debit {
    position: absolute;
    left: 40px;
    top: 30px;
    color: #fff;
    font-weight: 300;
}

.front .bank {
    position: absolute;
    right: 40px;
    top: 25px;
    color: #fff;
    font-size: 24px;
    font-style: italic;
}


.front .chip {
    position: absolute;
    top: 80px;
    left: 40px;
    max-width: 64px;
}

.front .number {
    position: absolute;
    bottom: 130px;
    left: 40px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 6px;
    font-size: 18px;
    text-shadow: 0 2px 1px #0005;
    font-family: 'Orbitron', sans-serif;
}

.front .valid {
    position: absolute;
    left: 40px;
    bottom: 90px;
    color: #fff;
    font-weight: 300;
    line-height: 1rem;
    text-align: right;
    display: flex;
    align-items: center;
}

.front .valid .title {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
}

.front .valid .date {
    margin-left: 20px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
}

.front .holder {
    position: absolute;
    left: 40px;
    bottom: 40px;
    color: #fff;
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: capitalize;
}

.back .blackbar {
    position: absolute;
    top: 40px;
    width: 100%;
    height: 60px;
    background: #000;
}

.back .ccvtext {
    position: absolute;
    top: 120px;
    left: 30px;
}

.back .ccvtext h5 {
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.back .ccvtext .whitebar {
    position: relative;
    width: 400px;
    height: 40px;
    background: #fff;
    margin-top: 5px;
}

.back .ccvtext .ccv {
    position: relative;
    width: 50px;
    height: 30px;
    background: #ccc;
    top: -35px;
    left: 395px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #111;
    letter-spacing: 3px;
}

.back .text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    color: #fff;
    font-size: 10px;
    line-height: 1.4rem;
    font-weight: 300;
}























